from login import login
from get_doc_id_list import list_spider
cookie = {'SESSION': str(login()[0][1])}

list_dict = list_spider(page=1, cookie=cookie)
result_count = int(list_dict["queryResult"]["resultCount"])
page_total = int(result_count/15) + 1
print("总共{}页".format(page_total))